package com.mdd.common.enums.auth;

/**
 * @author Administrator
 */

public enum TradeStatusEnum {

    TRADE_CLOSED("TRADE_CLOSED","交易关闭"),
    TRADE_FINISHED("TRADE_FINISHED","交易完结"),
    TRADE_SUCCESS("TRADE_SUCCESS","支付成功"),
    WAIT_BUYER_PAY("WAIT_BUYER_PAY","交易创建") ;
    private final String code;
    private final String msg;
    TradeStatusEnum(String code, String msg){
        this.code = code;
        this.msg = msg;
    }
    /**
     * 获取状态码
     *
     */
    public String getCode() {
        return this.code;
    }

    /**
     * 获取提示
     *
     */
    public String getMsg() {
        return this.msg;
    }
}
